package com.xjscrm.server.req.filterrule;

import com.xjscrm.common.entity.WwCustomer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Objects;

/**
 * 标签用户排除请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerBasicInfoExcludeFilterReq extends CustomerFilterRuleReq{

    private WwCustomer wwCustomer;

    private Integer excludeCustomerRemarkOpt;

    private Integer excludeCustomerGenders;

    private Integer openExclude;

    public Boolean isOpenExclude() {
        return Objects.equals(this.getOpenExclude(), 1);
    }
}
